<form action="" class="form-horizontal" role="form">
  <div class="form-group">
    <label class="col-sm-2 control-label">活动类型名称</label>
    <div class="col-sm-2">
      <input type="text" class="form-control" name="name" placeholder="" datatype="*" value="{$activityClass.name}">
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">活动类型标签</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" name="tag" placeholder="" datatype="*" value="{$activityClass.tag}">
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">状态</label>
    <div class="col-sm-5">{$activityClass.statusRadio}</div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-8">
      <input type="hidden" name="id" value="{$activityClass.id}">
      <button type="submit" class="btn btn-primary" data-loading-txt="提交中，请稍后……" data-ajax-url="__CONTROLLER__/savePost">保存更改</button>
    </div>
  </div>
</form>